import request from '@/utils/request';

export async function reqTyIllnessList(data: any, options?: any): Promise<any> {
	return request('/api/sys/illness/list', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqAddTyIllness(data: any, options?: any): Promise<any> {
	return request('/api/sys/illness/create', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqUpdateTyIllness(data: any, options?: any): Promise<any> {
	return request('/api/sys/illness/update', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqDeleteTyIllness(data: any, options?: any): Promise<any> {
	return request('/api/sys/illness/delete', {
		method: 'POST',
		data,
		...(options || {}),
	});
}


